package com.fps.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.fpswork.core.exception.exception.BusinessException;
import com.fpswork.core.model.PageEntity;
import com.fps.web.dao.BaseattachDao;
import com.fps.web.model.Baseattach;
import com.fps.web.service.BaseattachService;
@Service
@Transactional
public class BaseattachServiceImpl implements BaseattachService{
    
    @Autowired
    BaseattachDao baseattachDao;
    public PageEntity queryBaseattachList(PageEntity pageEntity)  throws BusinessException{
     	return baseattachDao.queryBaseattachList(pageEntity);
    }
	public Baseattach addBaseattach(Baseattach baseattach)  throws BusinessException{
		return baseattachDao.addBaseattach(baseattach);
	}
	public Baseattach updateBaseattach(Baseattach baseattach)  throws BusinessException{
		return baseattachDao.updateBaseattach(baseattach);
	}
	public Baseattach queryBaseattachByID(String id)  throws BusinessException{
		return baseattachDao.queryBaseattachByID(id);
	}
	public Boolean deleteBaseattach(Baseattach baseattach)  throws BusinessException{
		return baseattachDao.deleteBaseattach(baseattach);
	}
}
